package records

import (
	"github.com/golib/mysql"
)

const RecordNameCmsNodeAbility = "cms_node_ability"

func init() {
	var r = &CmsNodeAbility{}
	mysql.RegisterRecord(r.Name(), r)
}

type CmsNodeAbility struct {
	RelateId   int    `json:"relateId" form:"relateId" column:"relate_id" primary:"true" modify:"false"`
	NodeId     int    `json:"nodeId" form:"nodeId" column:"node_id" modify:"true"`
	AbilityId  int    `json:"abilityId" form:"abilityId" column:"ability_id" modify:"true"`
	CreateTime string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime string `modify:"false" json:"updateTime" form:"updateTime" column:"update_time"`
}

func (r *CmsNodeAbility) Name() string {
	return RecordNameCmsNodeAbility
}
